/**
 * @license
 * Cesium - https://github.com/CesiumGS/cesium
 * Version 2.0
 *
 * Copyright 2011-2022 Cesium Contributors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Columbus View (Pat. Pend.)
 *
 * Portions licensed separately.
 * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
 */
define(["./defaultValue-15342b8e","./Transforms-e4079fbb","./Matrix3-80f44511","./Check-de3c6afc","./ComponentDatatype-9fea081c","./GeometryAttribute-7641c7d0","./GeometryAttributes-b2a04659","./Math-30274b8d","./Matrix2-f9a8df5e","./RuntimeError-838954d6","./_commonjsHelpers-3aae1032-8335b124","./combine-94a63535","./WebGLConstants-755e55ac"],(function(e,t,n,r,a,i,o,c,u,s,m,y,p){"use strict";function f(){this._workerName="createPlaneOutlineGeometry"}f.packedLength=0,f.pack=function(e,t){return t},f.unpack=function(t,n,r){return e.defined(r)?r:new f};const b=new n.Cartesian3(-.5,-.5,0),d=new n.Cartesian3(.5,.5,0);return f.createGeometry=function(){const e=new o.GeometryAttributes,r=new Uint16Array(8),c=new Float64Array(12);return c[0]=b.x,c[1]=b.y,c[2]=b.z,c[3]=d.x,c[4]=b.y,c[5]=b.z,c[6]=d.x,c[7]=d.y,c[8]=b.z,c[9]=b.x,c[10]=d.y,c[11]=b.z,e.position=new i.GeometryAttribute({componentDatatype:a.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:c}),r[0]=0,r[1]=1,r[2]=1,r[3]=2,r[4]=2,r[5]=3,r[6]=3,r[7]=0,new i.Geometry({attributes:e,indices:r,primitiveType:i.PrimitiveType.LINES,boundingSphere:new t.BoundingSphere(n.Cartesian3.ZERO,Math.sqrt(2))})},function(t,n){return e.defined(n)&&(t=f.unpack(t,n)),f.createGeometry(t)}}));
